<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateNwYbzDdsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('nw_ybz_dds', function (Blueprint $table) {
            $table->id();
                    // 名称
            $table->string('name');
            // 资源类型
            $table->string('resource_type');
            // 区域
            $table->string('region');
            // 所属资源集
            $table->string('resource_set_name');
            // 所属VDC
            $table->string('vdc');
            // resource_id
            $table->string('resource_id');
            // 申请订单号
            $table->string('order_number');
            // 所属资源组
            $table->string('resource_group');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('nw_ybz_dds');
    }
}
